/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lt.ntec.danblog.server.core.view.impl;

import com.google.inject.Inject;
import lt.ntec.danblog.server.core.view.View;

/**
 *
 * @author Tadas
 */
class SimpleView implements View {
    private String title;
    private String content;
    
    @Inject
    private Part part;

    @Override
    public String getContentPage() {
        return content;
    }

    @Override
    public String getTitle() {
        return title;
    }

    @Override
    public void setTitle(String title) {
       this.title = title;
    }

    @Override
    public void setContentPage(String content) {
        this.content = content;
    }

    @Override
    public Object getPart(String key) {
        return part.getPart(key);
    }

    @Override
    public void setPart(String key, Object object) {
        part.setPart(key, object);
    }
    
}
